---
title: Styling with CSS Classes
description: Learn how to customize components using CSS class names and class-based styling.
lastModified: 2025-08-22
availableIn:
  - framework: 'next'
    url: '/docs/frameworks/next/styling/classnames'
    title: 'Next.js'
  - framework: 'react'
    url: '/docs/frameworks/react/styling/classnames'
    title: 'React'
---

<import>../../react/styling/classnames.mdx</import>
